package com.glodon.paas.qto.dao;

import java.util.Date;
import java.util.List;

import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import com.glodon.paas.qto.model.Job;

@Repository
public interface JobRepository extends CrudRepository<Job, String>{
    
    public List<Job> findByUserIdAndStartTimeBetweenOrderByStartTimeDesc(String userId, Date fromTime, Date toTime);

}
